# coding: utf-8
from marshmallow import Schema, fields
from model.model_base import Base
from sqlalchemy import Column, String


class AreaList(Base):
    # 区域对照表
    __tablename__ = 'AreaList'
    id = Column(String(1), primary_key=True, comment='区域id（1廊坊2衡水3邢台）')
    name = Column(String(50), nullable=False, comment='区域名称')

class AreaListSchema(Schema):
    id = fields.String()
    name = fields.String()

areaListSchema = AreaListSchema()
